package com.health.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("审核评论")
public class ReviewVo {
    @NotEmpty(message = "id不能为空")
    @ApiModelProperty(value = "id列表", required = true)
    private List<Long> ids;

    @NotNull(message = "状态值不能为空")
    @ApiModelProperty(value = "状态值", required = true)
    private Boolean isReview;
}
